CastPayload

data class CastPayload(currentTime: Double, deviceName: String?)

Contains information for the CastWaitingForDevice event.

Constructors

CastPayload
Link copied to clipboard
fun CastPayload(currentTime: Double, deviceName: String?)

Properties

currentTime
Link copied to clipboard
val currentTime: Double
The current time in seconds.
deviceName
Link copied to clipboard
val deviceName: String?
The name of the chosen cast device.
type
Link copied to clipboard
val type: String
The type of the payload (always "cast").